package com.lsc.study.generic;

import java.util.ArrayList;
import java.util.List;

public class ListDemo {

    public static void main(String[] args) {


        List<Integer> list = new ArrayList<>();
        List<String> list1 = new ArrayList<>();
        List<Double> list2 = new ArrayList<>();

        for_test(list);
        for_test(list1);
        for_test(list2);

    }


    public static void for_test(List<?> list) {
        System.out.println(list);
    }
}
